<?php
	include("config.php");

	$query="insert into `ORDER` values('','" . $_POST['userId'] . "','" . $_POST['shipMethod'] . "','" . $_POST['confirmed'] . "','" . $_POST['creditcardNo'] . "','" . $_POST['expiryDate'] . "','" . $_POST['securityCode'] . "','" . $_POST['total'] . "')";
	$rs=mysql_query($query, $conn) or die("Sql execution unsuccessful...ERROR:".mysql_error());
	
	if($rs) {
		echo "<success>Success</success>\n";
	} else {
		echo "<success>Fail</success>\n";
	}
?>

